Skip to content

FIX Set type on bandpass frequency arguments. #1058

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Feb 18, 2015

Conversation

nathanntg
Copy link
Contributor

This is a very minor correction, but the example resting state scripts do not correctly specify the variable type for the arguments. This causes issues with negative values. The string "-1" evaluates as true in the bandpass_filter function on the line if lowpass_freq > 0:, which does not produce the intended effect of suppressing the lowpass filter.

I am happy to write tests for this, although I don't see any tests associated with the example scripts. Let me know if there is anything else I can do to help.

satra added a commit that referenced this pull request Feb 18, 2015
FIX Set type on bandpass frequency arguments.
@satra satra merged commit 2813d08 into nipy:master Feb 18, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants